<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
hhahaha

<script>
    console.log(window)
    setTimeout(()=>{
        window.document.title=("哈哈哈")
    },2000)
</script>
</body>
</html>